package com.company.L_2_1;

/**
 * Created by vilen on 2015/3/26.
 */
public class OfficeBetter{
    public static void main(String[] args) {
        //动态加载类
        try
        {
            Class c = Class.forName("com.company.L_2_1.Excel");
            OfficeAble oa = (OfficeAble)c.newInstance();
            oa.start();


        }catch (Exception e) {
            e.printStackTrace();
        }
    }
}
